package com.sw.study.monitor.bean;

public class MethodDataInfo {

    /**
     * 方法名称
     */
    private String methodName;
    /**
     * 处理时长
     */
    private Long times;
    /**
     * 记录时间
     */
    private Long endTimes;

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Long getTimes() {
        return times;
    }

    public void setTimes(Long times) {
        this.times = times;
    }

    public Long getEndTimes() {
        return endTimes;
    }

    public void setEndTimes(Long endTimes) {
        this.endTimes = endTimes;
    }

    public MethodDataInfo(String methodName, Long times, Long endTimes) {
        this.methodName = methodName;
        this.times = times;
        this.endTimes = endTimes;
    }

    @Override
    public String toString() {
        return "MethodDataInfo{" +
                "methodName='" + methodName + '\'' +
                ", times=" + times +
                ", endTimes=" + endTimes +
                '}';
    }
}
